home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
ISSUE03
/
CTOP
/
CTOP.ZIP
/
README
< prev
next >
Wrap
Text File
|
1989-04-26
|
5KB
|
147 lines
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Type 'CTOP' to get the following help:
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
CtoP filename {options}
/a Skipped #if text output as-is
/c Allow comments to nest
/d<name> #define <name> 1
/d<name>=<val> #define <name> <val>
/f Create default declarations for undeclared identifiers
/h<n> Heap allocated to symbol table (default 32000 words)
/i<dir> Include directories
/j Treat plain char as unsigned
/k<n> Identifiers significant to <n> characters
/l Make size of plain int 4 bytes
/m<n> Size of symbol table (default 4500 entries)
/n Output labels as Standard Pascal (numeric) labels
/o Whitespace not treated as significant between operators
/p Push macro redefinitions
/q Run in quiet mode
/r Round reals when converting to integer
/s Use ANSI C preprocessor features
/t Provide standard typedefs
/v<name> Specify source C compiler vendor
/_ Underscore not considered significant in target compiler
/7 Disable 8087 Turbo Pascal floating point types
/I include directories should be separated by ;
/T provides (amongst others) FILE, size_t, ptrdiff_t
/V vendor name may be one of:
ANSI BORLAND KNOWSOFT LATTICE
MICROSOFT MIX POWER PROSPERO
TURBO UNIX ZORLAND ZORTECH
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Distributing and using CtoP:
The purpose of creating and distributing a Turbo Pascal version of
CtoP was to gain publicity for Knowledge Software and the services we
have to offer.
If you find this version of CtoP useful and want a copy of the manual
and latest release of the software please register.
You may give copies of the contents of this disc to whom ever you
like provided the Knowledge Software Ltd copyright notices are not
removed. You may charge your customer as much or little as you like
for providing a copy of this software.
If you would like a copy of CtoP that targetted to another Pascal
compiler and handled a different dialect of C as input please contact
us.
Also if you are looking for any tools in the language translation
area please contact us.
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To become a registered user of CtoP and receive the latest version of the
software, the comprehensive manual and hotline support, please complete and
return the following form:
------------------------------------------------------------------------------
Name :______________________________________________________________________
Company:______________________________________________________________________
Address:______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Postcode:____________________Tel:_____________________________________
I enclose a cheque for #75.00 + #11.25 VAT (pounds sterling) made payable to:
Knowledge Software Ltd
32 Cove Road
Farnborough
Hants GU14 0EN
England
Signed :_____________________________Dated:___________________________________
------------------------------------------------------------------------------
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Products and prices:
CtoP
C to Turbo Pascal version . . . . . . . . . . . . . . . . . . . 75.00
Other versions . . . . . . . . . . . . . . . . . . . . . . . . p.o.a.
KnowSoft C compiler
port to new machine . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Unix hosted p-System
runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . 950.00
port to new machine . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Port-a-kit p-System
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Poptyser
p-System p-code optimiser, analyser and editor . . . . . . . . 525.00
POP-NCG
p-System p-code optimising native code generator . . . . . . . 850.00
(available for 680x0 and 80x86 machines)
NB: Prices exclude VAT
Borland/Turbo C
The Turbo C header files contain the lines:
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
CtoP will process function declarations that contain the cdecl
keyword. However, if your code has used the _Cdecl macro you
will either have to include the Turbo C headers, add the above
lines into your source or use the CtoP directive /D_Cdecl=cdecl